package com.butioy.study.jersey.controller;

import com.butioy.study.jersey.pojo.Result;
import javax.inject.Singleton;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

/**
 * @author yanglq
 * @since 3.0.0
 */
@Singleton
@Path("user")
public class HomeController {

    @GET
    @Path("home")
    @Produces(MediaType.APPLICATION_JSON)
    public Result<String> home() {
        return Result.ok();
    }

}
